find the derivative using the power rule